//
//  UIScreen_Extension.swift
//  BitDealApp
//
//  Created by alyadan on 2017/10/13.
//  Copyright © 2017年 alyadan. All rights reserved.
//

import Foundation
import UIKit

public extension UIScreen {
//    private let screenSize = UIScreen.main.bounds.size
    
    static var screenSize: CGSize {
        get {
            return self.main.bounds.size
        }
    }
    
   static var screenWidth: CGFloat {
        get{
            return screenSize.width
        }
    }
    
   static var screenHeight: CGFloat {
        get{
            return screenSize.height
        }
    }
    
    static var heightScale: CGFloat {
        get{
           return screenHeight / 1920
        }
    }
    
    static var widthScale: CGFloat {
        get {
           return screenWidth / 1080
        }
    }
}
